/**
 * Copyright &copy; 2012-2016 <a href="https://github.com/thinkgem/jeesite">JeeSite</a> All rights reserved.
 */
package com.thinkgem.jeesite.modules.qx.entity;

import org.hibernate.validator.constraints.Length;

import com.thinkgem.jeesite.common.persistence.DataEntity;
import com.thinkgem.jeesite.common.utils.excel.annotation.ExcelField;

/**
 * 单表生成Entity
 * @author zequs
 * @version 2017-08-23
 */
public class QxTeam extends DataEntity<QxTeam> {
	
	private static final long serialVersionUID = 1L;
	private String name;		// 球队名称
	private String leagueid;		// 联赛id
	private String leagueName;		// league_name
	private String integral;		// 积分
	private Integer strength;		// 实力
	private Integer normalUnusual;		// 异常次数
	private Integer extremelyUnusual;		// 极端异常次数
	private Integer stableException;		// 稳定异常次数
	private Integer rank;		// 排名
	private String normalVigilance;		// 普通警惕组中间用逗号隔开
	private String seriousVigilance;		// 严重警惕组中间用逗号隔开
	private String monitorType;		// 监控类型 1普通警惕2严重警惕
	private Integer count;         //比赛次数
	private Integer winCount;         //赢次数
	private Integer loseCount;         //输次数
	private Integer winScoreTotal;         //赢时进的球
	private Integer loseScoreTotal;        //输时进的球
	private Integer evenCount;         //打平次数
	private Integer mainUnusualTotal;      //主场异常数量
	private Integer guestUnusualTotal;      //客场异常数量
	//非数据库字段
	private Integer limitStart; 
	private Integer limitEnd;  
	public QxTeam() {
		super();
	}

	public QxTeam(String id){
		super(id);
	}

	@Length(min=0, max=50, message="球队名称长度必须介于 0 和 50 之间")
	@ExcelField(title="球队名", type=2, align=1, sort=2)
	public String getName() {
		return name;
	}
	
	public void setName(String name) {
		this.name = name;
	}
	
	public String getLeagueid() {
		return leagueid;
	}

	public void setLeagueid(String leagueid) {
		this.leagueid = leagueid;
	}
	
	@Length(min=1, max=64, message="league_name长度必须介于 1 和 64 之间")
	@ExcelField(title="联赛", type=2, align=1, sort=1)
	public String getLeagueName() {
		return leagueName;
	}

	public void setLeagueName(String leagueName) {
		this.leagueName = leagueName;
	}
	
	@Length(min=1, max=10, message="积分长度必须介于 1 和 10 之间")
	@ExcelField(title="积分", type=2, align=1, sort=3)
	public String getIntegral() {
		return integral;
	}

	public void setIntegral(String integral) {
		this.integral = integral;
	}
	
	@Length(min=1, max=255, message="实力长度必须介于 1 和 255 之间")
	@ExcelField(title="实力", type=2, align=1, sort=4)
	public Integer getStrength() {
		return strength;
	}

	public void setStrength(Integer strength) {
		this.strength = strength;
	}
	
	@Length(min=1, max=10, message="异常次数长度必须介于 1 和 10 之间")
	public Integer getNormalUnusual() {
		return normalUnusual;
	}

	public void setNormalUnusual(Integer normalUnusual) {
		this.normalUnusual = normalUnusual;
	}
	
	@Length(min=1, max=10, message="极端异常次数长度必须介于 1 和 10 之间")
	public Integer getExtremelyUnusual() {
		return extremelyUnusual;
	}

	public void setExtremelyUnusual(Integer extremelyUnusual) {
		this.extremelyUnusual = extremelyUnusual;
	}
	
	@Length(min=1, max=10, message="稳定异常次数长度必须介于 1 和 10 之间")
	public Integer getStableException() {
		return stableException;
	}

	public void setStableException(Integer stableException) {
		this.stableException = stableException;
	}
	
	@Length(min=1, max=10, message="排名长度必须介于 1 和 10 之间")
	public Integer getRank() {
		return rank;
	}

	public void setRank(Integer rank) {
		this.rank = rank;
	}
	
	@Length(min=1, max=255, message="普通警惕组中间用逗号隔开长度必须介于 1 和 255 之间")
	public String getNormalVigilance() {
		return normalVigilance;
	}

	public void setNormalVigilance(String normalVigilance) {
		this.normalVigilance = normalVigilance;
	}
	
	@Length(min=1, max=255, message="严重警惕组中间用逗号隔开长度必须介于 1 和 255 之间")
	public String getSeriousVigilance() {
		return seriousVigilance;
	}

	public void setSeriousVigilance(String seriousVigilance) {
		this.seriousVigilance = seriousVigilance;
	}
	
	@Length(min=1, max=10, message="监控类型 1普通警惕2严重警惕长度必须介于 1 和 10 之间")
	public String getMonitorType() {
		return monitorType;
	}

	public void setMonitorType(String monitorType) {
		this.monitorType = monitorType;
	}

	public Integer getLimitStart() {
		return limitStart;
	}

	public void setLimitStart(Integer limitStart) {
		this.limitStart = limitStart;
	}

	public Integer getLimitEnd() {
		return limitEnd;
	}

	public void setLimitEnd(Integer limitEnd) {
		this.limitEnd = limitEnd;
	}

    public Integer getCount() {
        return count;
    }

    public void setCount(Integer count) {
        this.count = count;
    }

    public Integer getWinCount() {
        return winCount;
    }

    public void setWinCount(Integer winCount) {
        this.winCount = winCount;
    }

    public Integer getLoseCount() {
        return loseCount;
    }

    public void setLoseCount(Integer loseCount) {
        this.loseCount = loseCount;
    }

    public Integer getWinScoreTotal() {
        return winScoreTotal;
    }

    public void setWinScoreTotal(Integer winScoreTotal) {
        this.winScoreTotal = winScoreTotal;
    }

    public Integer getLoseScoreTotal() {
        return loseScoreTotal;
    }

    public void setLoseScoreTotal(Integer loseScoreTotal) {
        this.loseScoreTotal = loseScoreTotal;
    }

    public Integer getEvenCount() {
        return evenCount;
    }

    public void setEvenCount(Integer evenCount) {
        this.evenCount = evenCount;
    }

    public Integer getMainUnusualTotal() {
        return mainUnusualTotal;
    }

    public void setMainUnusualTotal(Integer mainUnusualTotal) {
        this.mainUnusualTotal = mainUnusualTotal;
    }

    public Integer getGuestUnusualTotal() {
        return guestUnusualTotal;
    }

    public void setGuestUnusualTotal(Integer guestUnusualTotal) {
        this.guestUnusualTotal = guestUnusualTotal;
    }

}